package com.jee.support.dao;

import java.sql.SQLException;

import com.ibatis.sqlmap.client.SqlMapClient;
import com.jee.support.pojo.TestDB;

public class TestDBDAO implements ITestDBDAO{

	private SqlMapClient sqlMapClient;
	@Override
	public boolean insertTestDB(TestDB testDb) {
		try {
				sqlMapClient.insert("testdb.insertTestDB",testDb);
			return true;
		} catch (SQLException e) {
			return false;
		}
	}
	public SqlMapClient getSqlMapClient() {
		return sqlMapClient;
	}
	public void setSqlMapClient(SqlMapClient sqlMapClient) {
		this.sqlMapClient = sqlMapClient;
	}
}
